// mutations业务层数据封装
import storage from "../utils/index.js";
export default{
    saveUserInfo(state,userInfo){
        state.userInfo=userInfo
        storage.setSession('userInfo',userInfo)
    },
    saveActionList(state,actionList){
        state.userInfo=actionList
        storage.setSession('actionList',actionList)
    },
    saveMenuList(state,menuList){
        state.userInfo=menuList
        storage.setSession('menuList',menuList)
    }
    
}